package com.qfedu.service;

import com.qfedu.pojo.Account;
import com.qfedu.pojo.Cards;
import com.qfedu.pojo.CreditCard;

import java.util.List;

public interface CreditCardService {
    CreditCard findCreditCard(String phone);

    int addCreditCard(CreditCard creditCard);

    CreditCard findCardsnumber(String cardnumber);

    void transfer(Account source, CreditCard target, int parseInt);

    List<CreditCard> findIdcodeCredit(String idcode);

}
